package com.woniuxy.vue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.vue.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: linKe
 * @Date: 2021/11/23 23:20
 * @FileName: BookMapper
 * @version: 1.0
 * @Description: 描述
 */
public interface BookMapper extends BaseMapper<Book> {
    /**
     *
     * @param userId 用户id
     * @return 根据查询图书信息
     */
    List<Book> findByUserId(@Param("userId") Integer userId);
}
